/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lojavirtual.bean;

import java.util.List;
import lojavirtual.model.Categoria;
import lojavirtual.persistence.CategoriaDAO;

/**
 *
 * @author 711034
 */
public class CategoriaBean {

    private CategoriaDAO categoriaDAO = new CategoriaDAO();

    public List<Categoria> getCategorias(){
        return categoriaDAO.listarCategorias();
    }

}
